package org.ysu.service;
import com.baomidou.mybatisplus.extension.service.IService;
import org.ysu.common.JsonResult;
import org.ysu.pojo.InterViewList;
import org.ysu.pojo.Interview;
import org.ysu.pojo.InterviewForm;
import org.ysu.pojo.Statistics;

import java.util.Date;
import java.util.List;

/**
* @author libaoyu
* @description 针对表【interview】的数据库操作Service
* @createDate 2024-06-17 14:59:48
*/
public interface InterviewService extends IService<Interview> {
    InterViewList getInterviewByid (Integer id);

    Integer addInterview(Interview interview);

    JsonResult uploadAvatar(byte[] bytes, Integer id);

    InterViewList getInterviewsByPara(InterviewForm interviewForm);

    Statistics getInomeAndLiability(Integer id, Integer data);
}
